import request from '@/utils/request'

// 查询会议文件列表
export function listMeetingData(query) {
  return request({
    url: '/meeting/meetingData/list',
    method: 'get',
    params: query
  })
}

// 查询会议文件详细
export function getMeetingData(id) {
  return request({
    url: '/meeting/meetingData/' + id,
    method: 'get'
  })
}

// 新增会议文件
export function addMeetingData(data) {
  return request({
    url: '/meeting/meetingData',
    method: 'post',
    data: data
  })
}

// 修改会议文件
export function updateMeetingData(data) {
  return request({
    url: '/meeting/meetingData',
    method: 'put',
    data: data
  })
}

// 删除会议文件
export function delMeetingData(id) {
  return request({
    url: '/meeting/meetingData/' + id,
    method: 'delete'
  })
}
